import request from '@/utils/request'

// 用户列表
export function listUser(query) {
  return request({
    url: '/system/app-user/list',
    method: 'get',
    params: query
  })
}

// 删除用户
export function delUser(data) {
  return request({
    url: '/system/app-user/delete',
    method: 'post',
	data:data
  })
}

// 新增用户
export function insertUser(data) {
  return request({
    url: '/system/app-user/insert',
    method: 'post',
	data:data
  }) 
}

// 编辑用户
export function editUser(data) {
  return request({
    url: '/system/app-user/edit',
    method: 'post',
	data:data
  }) 
}

// 所有用户
export function allListUser() {
  return request({
    url: '/system/app-user/allList',
    method: 'get'
  }) 
}

// 住户审核
export function Examine(data) {
  return request({
    url: '/system/app-user/examine',
    method: 'post',
	data:data
  }) 
}